//
//  SISSHouseProgressVerticalShowImageViewController.m
//  SISSAPP
//
//  Created by 袁应荣 on 2018/12/24.
//  Copyright © 2018 优房网. All rights reserved.
//

#import "SISSHouseProgressVerticalShowImageViewController.h"
#import "SISSHouseProgressUploadContractsViewController.h"
#import "SISSNetworkingManager+HouseProgress.h"
#import "SISSNetworkingManager+File.h"

@interface SISSHouseProgressVerticalShowImageViewController ()

@end

@implementation SISSHouseProgressVerticalShowImageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)uploadButtonClickAction {
    SISSHouseProgressUploadContractsViewController *vc = [[SISSHouseProgressUploadContractsViewController alloc] init];
    vc.title = @"录入《深圳市二手房买卖合同》";
    vc.houseProgressModel = self.houseProgressModel;
    vc.houseProgressRecordInfo = self.houseProgressRecordInfo;
    vc.passengerProgressModel = self.passengerProgressModel;
    vc.passengerProgressRecordInfoModel = self.passengerProgressRecordInfoModel;
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)requestContractImageData {
//    NSString *ahbpId = self.houseProgressModel ? self.houseProgressModel.ahbpId : self.passengerProgressRecordInfoModel.ahbpId;
//    WeakSelf
//    [kNetworkManager requestBusinesscontractWithAhbpId:ahbpId success:^(NSArray *contractArr) {
//        
//        NSMutableArray *urls = [NSMutableArray arrayWithCapacity:contractArr.count];
//        for (NSInteger i = 0; i < contractArr.count; i++) {
//            NSString *url = [NSString stringWithFormat:@"%@%@",BASE_IMAGE_URL,contractArr[i]];
//            [urls addObject:url];
//        }
//        weakSelf.urlStrArr = urls;
//        [self reloadData];
//        
//    } failed:^(NSError *error) {
//        NSLog(@"%@",error);
//    }];
}

@end
